<template>
  <div id="app" style="background-color: #edf0f5;">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
    <theme-picker />
  </div>
</template>

<script>
import ThemePicker from "@/components/ThemePicker";

import  '@/api/directives'; //弹窗拖拽
export default {
  name: "App",
  components: { ThemePicker },
    metaInfo() {
        return {
            title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
            titleTemplate: title => {
                return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
            }
        }
    },
    
};
</script>
<style scoped>
#app .theme-picker {
  display: none;
}
</style>
<style lang="scss">
// table鼠标经过颜色颜色
 .el-table__body tr:hover>td {
  background-color: #EBF6FF !important;
}

</style>
<style>
/* //input disable状态时，控件有内容时文字的颜色 */
 .el-input.is-disabled /deep/ .el-input__inner {
  color: #666260;
}
</style>